/*
 * @Author: wanglianxin 532445330@qq.com
 * @Date: 2023-11-07 18:31:03
 * @LastEditors: wanglianxin 532445330@qq.com
 * @LastEditTime: 2023-11-09 12:01:54
 * @FilePath: /src/router/routes.ts
 * @Description: 路由表
 */

export default [
  {
    name: "",
    path: "/main",
    component: () => import("../pages/Main/Main.vue"),
    children: [
      {
        path: "markdown/:componentName",
        component: () => import("../pages/Markdown/Markdown.vue"),
        props: true,
      },
    ],
  },
  {
    path: "/",
    redirect: "/main",
  },
];
